package com.tx.java.chapter3;

class A{
    public A() {
        System.out.println("aaa");
    }
}

class Hello{
    static A a = new A();
    public Hello() {
        System.out.println("11");
    }
}

public class StaticClass {
    static Hello h1 = new Hello();

    public static void main(String[] args) {
        new Hello();
    }
}
